* {
    padding: 0;
    margin: 0;
}

html,
body {
    /*height: 100%;*/
}

body {
    background-color: #000;
    font-size: 100%;
}


/*@media (min-width: 414px) {}

@media (max-width: 320px) and (max-height : 568px ) {
    body {
       
        font-size: 62.5%;
    }
}

@media (max-width: 320px) and (max-height : 480px ) {
    body {
       
        font-size: 62.5%;
    }

    #redpaper a.paper,.too {
        width: 44%;
    }
    div.ipt{
            margin: 0 5em -3em 4em;
    }
}*/

ul li {
    list-style: none;
}

.weixinImg {
    overflow: hidden;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
}

.weixinImg img {
    width: 100%;
    height: 100%
}

.weixinCont {
    padding: 0 0.625em;
    padding-bottom: 4em;
    background-color: #E3E3E3;
}

.line {
    padding: 0.3125em 0;
}

.face {
    width: 2.5em;
    height: 2.5em;
    display: block;
    float: left;
}

img.R {
    float: right;
    background: url(../images/face.png) 100%;
    background-size: 100%;
}

div.R {
    text-align: right;
}

.sayCont {
    margin: 0 3em;
    display: block;
    position: relative;
}

.sec {
    font-size: 14px;
    display: none;
}

.sayCont .cont {
    /*background-color: #FFF;*/
    /*border-radius: 4px;*/
    display: inline-block;
    height: 2.5em;
    text-align: left;
    padding: 0.5em;
    width: 100%;
    box-sizing: border-box;
}

div.say {
    background-color: #FFF;
    border-radius: 4px;
    display: inline-block;
}

p.R {
    background: #A0E75A;
}

.footer {
    position: fixed;
    bottom: 0;
    min-height: 3em;
    width: 100%;
}

.footer img {
    width: 100%;
    min-height: 3em;
    display: block;
}

img.hi {
    margin-top: -10%;
    width: 45%;
}

img.say {
    position: absolute;
    display: block;
    height: 50%;
    top: 25%;
    left: 5%;
}

img.sayOutR {
    position: absolute;
    top: 1.125em;
    width: 4%;
}

img.sayOutL {
    position: absolute;
    left: -3%;
    width: 3%;
    top: 35%;
}

div.addin {
    width: 100%;
}

div.addin img {
    width: 40%;
    margin: 0 auto;
    display: block;
    padding: 2em 0;
}

div.time {
    width: 100%;
}

div.time img {
    display: block;
    width: 12%;
    margin: 0 auto;
    padding: 2em 0;
}

img.cafei_paper {
    width: 100%;
}

.ipt {
    width: 60%;
    left: 15%;
    top: 5%;
    position: absolute;
    z-index: 2;
    word-break: break-all;
    font-size: 14px;
}

.btnSend {
    position: absolute;
    bottom: 0%;
    right: 0%;
    width: 25%;
    z-index: 2;
    -webkit-animation: yan 2s ease-out infinite;
    animation: yan 2s ease-out infinite;
}

@-webkit-keyframes yan {
    0% {
        -webkit-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
    }
}

@keyframes yan {
    0% {
        -webkit-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
    }
}

.btnSend img {
    display: block;
    margin: 0 auto;
    width: 50px;
}

#redpaper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/paper_bg.png);
    background-size: 100%;
}

#redpaper img.paper {
    width: 100%;
}

a.paper {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 40%;
    top: 15%;
}

.coffee {
    display: block;
    width: 70%;
    margin: 0 auto;
}

#redpaper img.close {
    width: 10%;
    position: absolute;
    top: 2%;
    right: 2%;
}

#redpaper a.top {
    display: block;
    width: 15%;
    position: relative;
    bottom: -20%;
    margin: 0 auto;
}

#redpaper img.top {
    width: 100%;
   
}

.cafei_paper_head {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 10%;
    -webkit-animation: head 1s ease-out infinite;
    animation: head 1s ease-out infinite;
}

@-webkit-keyframes head {
    0% {
        left: 49%;
    }
    50% {
        left: 51%;
    }
    100% {
        left: 49%;
    }
}

@keyframes head {
    0% {
        left: 49%;
    }
    50% {
        left: 51%;
    }
    100% {
        left: 49%;
    }
}

img.top {
    -webkit-animation: toph 1s ease-out infinite;
    animation: toph 1s ease-out infinite;
}
@-webkit-keyframes toph {
    0% {
        -webkit-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
    }
}

@keyframes toph {
    0% {
        -webkit-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
    }
}